import request from "../util/request.ts";
import {User} from "./type/model.ts";


export const loginApi = async (user:User) => await request.post("/login", user)